<?php

/*
 * Action - Ruins 0$*
 *
 * +1 Card
 */

class RuinedLibrary extends Card implements iAction, iDarkAges, iRuin {

    public function __construct() {
        parent::__construct("Ruined Library", 0);
        $this->undoPlay = false;
        $this->undoBuy = false;
    }

    public function getDescription() {
        return array(
            "+1 Card");
    }

    public function play(Game $game, $isRealCard) {

        $drawed_cards = $game->drawCards(1);
        ScreenDisplay::addScreenMessage($game, true, "draw  " . nicePrint($drawed_cards), "draws " . sizeof($drawed_cards) . " cards");
        $game->cardActionFinished();
        return true;
    }
}

?>